home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / usbutils.postrm < prev    next >
Text File  |  2008-09-23  |  902b  |  34 lines

  1. #! /bin/sh
  2. # postrm script for usbutils
  3. #
  4. # see: dh_installdeb(1)
  5. # summary of how this script can be called:
  6. #        * <postrm> `remove'
  7. #        * <postrm> `purge'
  8. #        * <old-postrm> `upgrade' <new-version>
  9. #        * <new-postrm> `failed-upgrade' <old-version>
  10. #        * <new-postrm> `abort-install'
  11. #        * <new-postrm> `abort-install' <old-version>
  12. #        * <new-postrm> `abort-upgrade' <old-version>
  13. #        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
  14. # for details, see /usr/share/doc/packaging-manual/
  15.  
  16. set -e
  17.  
  18.  
  19. case "$1" in
  20.     purge)
  21.         rm -f /var/lib/misc/usb.ids.old
  22.         ;;
  23.         remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
  24.         ;;
  25.     *)
  26.             echo "postrm called with unknown argument \`$1'" >&2
  27.         exit 0
  28. esac
  29.  
  30. # dh_installdeb will replace this with shell code automatically
  31. # generated by other debhelper scripts.
  32.  
  33.  
  34.